<!--<?php
if ($type=='add') {print <<<EOT
-->
<div class="admin_table mb10">
<div style="height:280px;overflow:hidden;overflow-y:auto;">
<form action="$ajax_basename" method="post" name="form1" onsubmit="return false;" enctype="multipart/form-data">
<table cellspacing="0" cellpadding="0" width="500">
	<tbody>
		<tr><th class="h" colspan="2" style="cursor:move" onmousedown="read.move(event);"><span class="fr" style="margin-top:2px;cursor:pointer" onclick="closep();"><img src="$imgpath/close.gif" /></span>添加视频</th></tr>
		<tr><td class="td2" colspan="2">视频链接可以使用优酷、56等视频网站的视频flash地址</td></tr>
		<tr class="tr1 vt">
			<td class="td2">视频描述 :</td>
			<td class="td2">
				<input type="text" tabindex="1" class="input input_wb" size="40" name="descrip">
			</td>
		</tr>
		<tr class="tr1 vt">
			<td class="td2">视频链接:</td>
			<td class="td2">
				<textarea name="address" class="textarea"></textarea>
			</td>
		</tr>
		<tr class="tr1 vt">
			<td class="td2">视频图片 :</td>
			<td class="td2">
				<input type="file" class="input input_wb" size="40" name="image" >
			</td>
		</tr>
	</tbody>
</table>
<div class="mb10 tac mt5">
<input type="hidden" name="hid" value="$hid">
<input type="hidden" name="type" value="add">
<input type="hidden" name="step" value="2">
<span class="btn2"><span><button type="button" name="ajaxsubmit" onclick="ajax.submit(this.form,ajax.guide);" onfocus="blur();">提交</button></span></span>
</div>
</form>
</div>
</div>
<!--
EOT;
}else{print <<<EOT
-->
<div class="admin_table mb10">
<div style="height:230px;overflow:hidden;overflow-y:auto;">
<form action="$ajax_basename" method="post" name="form1" onsubmit="return false;" enctype="multipart/form-data">
<table cellspacing="0" cellpadding="0" width="500">
	<tbody>
		<tr><th class="h" colspan="2" style="cursor:move" onmousedown="read.move(event);"><span class="fr" style="margin-top:2px;cursor:pointer" onclick="closep();"><img src="$imgpath/close.gif" /></span>添加视频</th></tr>

		<tr class="tr1 vt">
			<td class="td2">视频描述 :</td>
			<td class="td2">
				<input type="text" tabindex="1" class="input input_wb" size="40" value="$video[descrip]" name="descrip">
			</td>
		</tr>
		<tr class="tr1 vt">
			<td class="td2">视频链接:</td>
			<td class="td2">
				<textarea name="address" class="textarea">$video[address]</textarea>
			</td>
		</tr>
		<tr class="tr1 vt">
			<td class="td2">视频图片 :</td>
			<td class="td2">
				<input type="file" class="input input_wb" size="40" name="image" >
			</td>
		</tr>
	</tbody>
</table>
<div class="mb10 tac mt5">
<input type="hidden" name="hid" value="$hid">
<input type="hidden" name="id" value="$id">
<input type="hidden" name="type" value="edit">
<input type="hidden" name="step" value="2">
<span class="btn2"><span><button type="button" name="ajaxsubmit" onclick="ajax.submit(this.form,ajax.guide);" onfocus="blur();">提交</button></span></span>
</div>
</form>
</div></div>
<!--
EOT;
}?>-->